code_checker.cli

Members

Functions

loadConfig
void loadConfig(ref Config rval)

Load the configuration from file.

parseConfigCLI
MiniConfig parseConfigCLI(string[] args)
setClangTidyFromDefault
void setClangTidyFromDefault(ref Config c)

Structs

Compiler
struct Compiler

Settings for the compiler

Config
struct Config

Configuration of how to use the program.

ConfigClangTidy
struct ConfigClangTidy

Configuration options only relevant for clang-tidy.

ConfigCompileDb
struct ConfigCompileDb

Configuration data for the compile_commands.json

ConfigStaticCode
struct ConfigStaticCode

Configuration options only relevant for static code checkers.

Logging
struct Logging

Settings for logging.

MiniConfig
struct MiniConfig

Minimal config to setup path to config file and workdir.

Meta

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This file contains the command line parsing and configuration loading from file.

The data flow is to first load the configuration from the file then parse the command line. This allows the user to override the configuration via the CLI.